package com.aos.erp.schools.model.student;

import com.aos.erp.schools.enums.student.FieldStatus;
import com.aos.erp.schools.enums.student.SubjectType;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Auther: chb
 * @Date: 2018/11/2 14:10
 * @Description: 学员预约考试表
 */
@Data
@TableName("t_student_exam")
public class StudentExam  implements Serializable {

    @TableId(value = "id", type = IdType.INPUT)
    private Long id;
    //学员名字
    @TableField("name")
    private String name;

    //考试科目
    @TableField("exam_subject")
    private Integer examSubject;

    //考试车型
    @TableField("exam_car_model")
    private String examCarModel;

    //考试日期
    @TableField("exam_time")
    private Date examTime;

    //考试地点
    @TableField("exam_address")
    private String examAddress;

    //约考时间
    @TableField("exam_ready_time")
    private Date examReadyTime;

    //创建时间
    @TableField("created")
    private Date created;

    //学员id
    @TableField("student_id")
    private Long studentId;


    //驾校id
    @TableField("driver_id")
    private Long driverId;

    //约考平台类型 默认为0 表示 来自122  1为 自身平台
    @TableField("type")
    private Integer type;

    @TableField("updated")
    private Date updated;

    @TableField("create_user")
    private Long createUser;

    @TableField("update_user")
    private Long updateUser;

    //次数
    @TableField("degree")
    private Long degree;

    //消息状态-1失败  0成功  1 未发送
    @TableField("message_status")
    private Integer messageStatus;

    //约考状态 (-1约考取消  0约考成功)  默认为0
    @TableField("state")
    private Integer state;
}
